#ifndef _ICONLABEL_H_
#define _ICONLABEL_H_

#include <QtGui/QLabel>

class QMouseEvent;
class QFocusEvent;

class IconLabel : public QLabel
{
    Q_OBJECT

public:
    IconLabel(const QString &icon, const QString &iconHover = QString(), const QString &iconPressed = QString());

protected:
    virtual void enterEvent(QEvent *event);
    virtual void leaveEvent(QEvent *event);
    virtual void mousePressEvent(QMouseEvent *event);

signals:
    void labelClicked();

private:
    QString m_iconString;
    QString m_iconHoverString;
    QString m_iconPressedString;
};

#endif

